home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / gpp-1_42.lha / g++-1.42.0 / cplus-tree.def < prev    next >
Text File  |  1991-10-19  |  1KB  |  29 lines

  1. /* For DELETE_EXPR, operand 0 is the store to be destroyed.
  2.    Operand 1 is the value to pass to the destroying function
  3.    saying whether the store should be deallocated as well.  */
  4. DEFTREECODE (DELETE_EXPR, "delete_expr", "e", 2)
  5.  
  6. /* Value is reference to particular overloaded class method.
  7.    Operand 0 is the class name (an IDENTIFIER_NODE);
  8.    operand 1 is the field (also an IDENTIFIER_NODE).  */
  9. DEFTREECODE (SCOPE_REF, "scope_ref", "r", 2)
  10.  
  11. /* When composing an object with a member, this is the result.
  12.    Operand 0 is the object.  Operand 1 is the member (usually
  13.    a dereferenced pointer to member).  */
  14. DEFTREECODE (MEMBER_REF, "member_ref", "r", 2)
  15.  
  16. /* Type conversion operator in C++.  TREE_TYPE is type that this
  17.    operator converts to.  Operand is expression to be converted.  */
  18. DEFTREECODE (TYPE_EXPR, "type_expr", "e", 1)
  19.  
  20. /* For CPLUS_NEW_EXPR, operand 0 is function which performs initialization,
  21.    operand 1 is argument list to initialization function,
  22.    and operand 2 is the slot which was allocated for this expression.  */
  23. DEFTREECODE (CPLUS_NEW_EXPR, "cplus_new_expr", "e", 3)
  24.  
  25. /* Distinguish variables that are only used to identify exceptions
  26.    that were caught.  Only the DECL_NAME (and TREE_CHAIN)
  27.    is really used.  */
  28. DEFTREECODE (CPLUS_CATCH_DECL, "cplus_catch_decl", "d", 0)
  29.